<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="jquery-1.9.1.min.js"></script>
    <script>
        function testGet() {
            $.get("http://localhost:8080/department/1",
              function (data) {
                  console.log(data);
              });
        }
    </script>
</head>
<body>
    <button onclick="testGet()">test</button>
</body>
</html>
